<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="chrome=1,IE=edge" />
    <title>西京文交所管理端-添加藏品</title>
    <link rel="stylesheet" href="../../static/iconfont/iconfont.css" >
    <link rel="stylesheet" href="../../static/frameset.css" >
</head>
<body>

    <div id="J_wrap" class="m_wrap m_box_v p_detail none">
        <div class="m_top">
            <headers v-on:callback="headerHandle" :userobj.sync="userobj"></headers>
        </div>
        <div class="m_content m_flex1 m_box">
            <menunav index="collection" sub="issued" :navobj.sync="userobj.group_acl"></menunav>
            <div class="container m_flex1">
                <ul class="breadcrumbs">
                    <li><span>藏品管理</span>&gt;</li>
                    <li><a href="index.html">已发行</a>&gt;</li>
                    <li class="on">藏品概览</li>
                </ul>
                <div class="m_title"><h2>总览</h2></div>
                <table class="m_table">
                    <thead>
                        <tr>
                            <th>持有人数</th>
                            <th>持有总量</th>
                            <th>总锁定量</th>
                            <th>总交易额</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            <td>{{ overview.hold_peoples }}</td>
                            <td>{{ overview.hold_total }}</td>
                            <td>{{ overview.lock_total }}</td>
                            <td>{{ overview.trade_total | markMoney }}</td>
                        </tr>
                    </tbody>
                </table>
                <div class="m_title"><h2>用户持有</h2></div>
                <table class="m_table">
                    <thead>
                        <tr>
                            <th></th>
                            <th>持有量</th>
                            <th>t+n锁仓量</th>
                            <th>当前锁仓量</th>
                            <th>操作</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr v-for="item in user_holds">
                            <th>{{ item.type == 1 ? '所有主力' : '所有散户' }}</th>
                            <td>{{ item.hold_amount }}</td>
                            <td>{{ item.lock_tn }}</td>
                            <td>{{ item.lock_current }}</td>
                            <td>
                                <a href="../user/main.html?id={{ id }}" v-if="item.type == 1">查看主力</a>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>
    </div>


    <script src="../../js/plugins/zepto/zepto.min.js"></script>
    <script src="../../js/plugins/vue/vue.min.js"></script>
    <script src="../../js/plugins/seajs/sea.js"></script>
    <script src="../../js/plugins/seajs/seajs-text.js"></script>

    <script>
        seajs.use( "../../js/page/collection/overview" );
    </script>

</body>
</html>
